/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-12-02 16:01:24
 * @LastEditors: 贺楠 1071780426@qq.com
 * @LastEditTime: 2024-10-21 11:12:01
 * @FilePath: \mould\src\views\pages\Supervision\regexDetail.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// import regex from '../../../../utils/regex.js' // 正则表达式
// import {
//     statusType
// } from '@/utils/config'; //配置项

export default {
    searchObj: [{
            xm: true, //是input
            label: "项目名称：", //字段
            prop: "fprojectid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
        },
        {
            bd: true, //是input
            label: "标段名称：", //字段
            prop: "fCompanyid", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用

        }, 
        {
            input: true, //是input
            label: "生产厂家名称", //字段
            prop: "merchantName", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "生产厂家名称",

        },{
            input: true, //是input
            label: "材料名称", //字段
            prop: "name", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "材料名称",

        },{
            select: true, //是input
            label: "申报状态", //字段
            prop: "fStatus", //字段名
            width: 6, //参考el-col
            disabled: false, //是否禁用
            placeholder: "申报状态",
            options: [
                {
                    label:"待提交",
                    value:"待提交"
                },
                {
                    label:"审核中",
                    value:"审核中"
                },
               
                {
                    label:"已退回",
                    value:"已退回"
                },{
                    label:"已批复",
                    value:"已批复"
                }
            ]

        },
     
        {
            btn: true, //是input
            width: 18, //参考el-col

        },
    ],
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        isOperation: true,
        thead: [
            
            {
                label: "项目简称",
                prop: "fProjectname",
                minWidth: "200px",
                align: "left",
            },
            {
                label: "标段",
                prop: "fCompanyname",
                minWidth: "60px",
                align: "left",

            },
            {
                label: '备案编号',
                prop: 'filingCode',
                minWidth: '180px',
                align: "center",
                Jump: true,
            },
            {
                label: "生产厂家名称",
                prop: "merchantName",
                minWidth: "150px",
                align: "left",
                // Jump: true,
            },
            {
                label: "供应商名称",
                prop: "supplierName",
                minWidth: "80px",
                align: "left",
            },
            {
                label: "材料种类",
                prop: "varietyName",
                minWidth: "80px",
                align: "left",
            },
            {
                label: "拟用工程部位",
                prop: "engineeringPart",
                minWidth: "150px",
                align: "left",
            },
            {
                label: "申报日期",
                prop: "declareDate",
                minWidth: "120px",
                align: "center",
            },
            {
                label: "最终审核单位",
                prop: "auditUnit",
                minWidth: "120px",
                align: "center",
            },
            {
                label: "待审批人",
                prop: "nextUserName",
                minWidth: "100px",
                align: "center",
                warnNum: "auditType",
                status:"auditStatus"
            },
            {
                label: "审核意见",
                prop: "reviewComments",
                minWidth: "120px",
                align: "left",
            },
            {
                label: "审核结果",
                prop: "findingsAudit",
                minWidth: "100px",
                align: "center",
            }, 
            {
                label: "审核日期",
                prop: "auditDates",
                minWidth: "120px",
                align: "center",
            },
        ],
        isCheckBox: false,
        isIndex: true,
        // 表格操作列
        operation: {
            label: '申报状态',
            width: '70',
            detail: true,
            prop: true,
            cols: [],
        },
    },
    btnObj: [{
            fEncode: "yj_view",
            fFullname: "查看",
            fOrder: 7
        },
        
        {
            fEncode: "yj_add",
            fFullname: "新增",
            fOrder: 1
        }, 
        {
            fEncode: "yj_edit",
            fFullname: "编辑",
            fOrder: 2
        },
        {
            fEncode: "yj_delete",
            fFullname: "删除",
            fOrder: 3
        },
        {
            fEncode: "yj_submit",
            fFullname: "提交",
            fOrder: 4
        },
        {
            fEncode: "yj_examine",
            fFullname: "审核",
            fOrder: 6
        },
        {
            fEncode: "yj_revoke",
            fFullname: "撤销",
            fOrder: 5
        },
        
    ]
}